package s1280418;

public class Task01Test {
    public static void main(String[] args) {
        Computer c=new Computer();
        c.add(new Mouse());
        c.add(new Mic());
        c.add(new Keyboard());
        c.powerOn();
        System.out.println();
        c.powerOff();
    }
}
